export type travelallowanceDetailHeard = {
  text: string;
  value: string;
  class?: string;
}

export class WorkFlowState {
  Submit: string = "Submit"

}

export type travelallowanceDetailValue = {
  accomodationCity: string;
  checkInDate: string;
  checkOutDate: string;
  creationDate: string;

  hotelName: string;
  lineNo: number;
  territory: string;
  territoryEdit?: boolean | false;
  provinceEdit?: boolean | false;
  cityEdit?: boolean | false
  hotelNameEdit?: boolean
  checkInDateEdit?: boolean | false
  checkOutDateEdit?: boolean | false
  province: string;

  travelAllowanceId: string
  travelAllowanceDetailId: string
  readonlyProvince: boolean
  TicketsList: any
  HotelList: any
  attachmentList: []
  remarks: any
  hotelerrorColor: string
  hotelhinttext: string
  territoryColor: string
  territoryhinttext: string
  provinceerrorColor: string
  provincehinttext: string
  accomodationCityerrorColor: string
  accomodationCitylhinttext: string
  checkInDateerrorColor: string
  checkInDatelhinttext: string
  checkOutDateerrorColor: string
  checkOutDatelhinttext: string
  ticketsList: []
  hotelList: []
  uploadViewModels: any
  currentModel: boolean | false
}

export type travelallowanceDetail = {
  requestNo?: string;
  expStatus?: string;
  claimantStaffName?: string;
  claimantEntityCode?: string;
  claimantStaffGrade?: string;
  lineOfService?: string;
  claimantOfficeCode?: string;
  claimantOfficeCity?: string;
  localExpatriate?: string;
  creationDate?: string
  clentName?: string
  requestType?: string
  countryCode?: string
  entityGroupCode?: string
  clientCode?: string
  clientName?: string
  jobCode?: string
  projectCode?: string
  jobProjectDesc?: string
  assgnmtID?: number | 0
  assgnmtProjectID?: number | 0
  mic?: string
  pic?: string
  territory?: string
  accomodationCity?: string
  province?: string
  hotelName?:string
  checkInDate?: string;
  checkOutDate?: string;
  noOfNights : number | 0;
  dailyAmount?: number;
  totalAmount?: number;
  remarks?:string
  accordingCheckInDate?: string
  accordingCheckOutDate?:string
  uploadViewModels?:[];
}
export type travelallowanceDetailSelect = {
  Id: string
  Name: string
  SelectId:string
}

export class SearchClient {
  Keyword?: string;
  CountryCode?: string;
  EntityGroupCode?: string;
  ClientCode?: string;
  JobCode?: string;
  MaxCount?: number;
  AssgnmtID?: number;
  AssgProjectID?: number;
  ExpenseType?: string;
  OUCode?: string;
}

export interface loginRequest {
  username:string,
  password:string
}
export interface SaveUser{
  username:string,
  password:string
  nickname:string
}
